package com.jrx.anytxn.customer.constant;
/**
 *  错误信息常量
 * @author Qingyao Xing
 * @date 2019/9/27 14:45
 */
public final class ErrorMsgConstant {

    private ErrorMsgConstant() {
    }

    /**
     * 授信的错误信息
     */
    public static final String CREDIT_CUSTOMER_PARAM_NODATA = "产品[%s](调整后额度||调整后额度生效日期||调整后额度失效日期)不能同时为空";


    public static final String CREDIT_ORG_NOLIMITID = "渠道对应的机构没有对应机构模版ID";

    public static final String CREDIT_SEQNO_USE = "交易流水号[%s]已使用";


    public static final String CREDIT_PARAMLIST_REPEAT = "授信信息列表creditInfoList中(contractNumber|productId)有重复数据";

    public static final String CREDIT_LIMITMAPPING_NODATA = "用户在该渠道下不存在额度节点映射相关信息或相关产品已失效";

    public static final String CREDIT_LIMITTEMPLPATE_NODATA = "用户在该渠道下不存在额度节点相关信息";

    public static final String CREDIT_CUSTOMER_LIMIT_EXISNUMBER = "产品id为[%s]中的合同号已使用";

    public static final String CREDIT_CUSTOMER_PARAM_DATE = "产品id为[%s]的请求的生效时间大于失效时间";

    public static final String CREDIT_CUSTOMER_PARAM_DATE_END = "产品id为[%s]调整后生效时间大于失效时间";

    public static final String CREDIT_CUSTOMER_PARAM_LIMIT = "产品id为[%s]调整后额度须大于(已使用额度+实时还款未入账金额)";

    public static final String CREDIT_CUSTOMER_PARAM_CONTNUMBER = "产品id为[%s]传入合同号与数据库不匹配";

    public static final String CREDIT_CUSTOMER_LIMIT_EXISPRODUCT = "客户额度表里已存在客户在产品id[%s]对应节点的额度信息";

    public static final String CREDIT_CUSTOMER_LIMIT_NODATA = "产品id[%s]对应节点的额度信息在客户额度表里不存在";

    public static final String CREDIT_CUSTOMER_LIMIT_STATUS = "产品id[%s]对应节点的额度信息在客户额度表里状态为失效";

    public static final String CREDIT_LIMIT_MAPPING_NODATA = "产品id为[%s](额度节点相关信息||产品)不存在或失效";

    public static final String CREDIT_CUSTOMER_LIMIT_NOTEMPLATE = "产品id为[%s]不存在对应的额度模版相关信息";

    public static final String CREDIT_CUSTOMER_LIMIT_USE = "产品id为[%s]对应的客户额度已使用,所以(effectiveDate)不能有值";

    public static final String CREDIT_LIMIT_PRODUCT_ERROR = "产品id为[%s]对应节点不存在，无法执行修改操作";

    public static final String CREDIT_LIMIT_PRODUCT_USE = "产品id为[%s]对应循环额度节点已存在,无法再次授信";

    public static final String CREDIT_LIMIT_MODIFY_ERROR = "修改客户节点的额度失败";

    public static final String CREDIT_LIMIT_SAVE_ERROR = "修改客户节点的额度失败";

    public static final String CREDIT_GETTREE_PARAM_NO = "客户id||(证件类型+证件号码)两组不能同时不成立";

    public static final String CREDIT_GETTREE_PARAM_ID = "证件类型,证件号码需要同时（有值/没值）";

    public static final String CUSTOMER_FIRST_NODATA_BYID = "根据（证件类型与证件号码）没在该机构查到一级客户信息";

    public static final String CUSTOMER_FIRST_NODATA_BYCUSID = "根据（客户id）没在该机构查到一级客户信息";

    public static final String CUSTOMER_FIRST_ERROR_IDTYPE = "报文中证件类型与根据客户id查询数据的证件类型不同";

    public static final String CUSTOMER_FIRST_ERROR_IDNUMBER = "报文中证件号码与根据客户id查询数据的证件号码不同";

    public static final String CUSTOMER_TREE_NODATA = "客户额度树中没有有效的额度数据";

    public static final String CUSTOMER_QUERY_NODATA = "客户额度查询（按渠道查询）没找到数据";

    public static final String CUSTOMER_STATUS_ERROR = "产品对应节点已失效无法执行解冻或冻结操作";

    public static final String CUSTOMER_OPERATETYPE_STATUS_ERROR = "产品id[%s]（冻结/解绑）操作不能更改已经处于本状态的数据";

    public static final String CUSTOMER_OPERATETYPE_PARAM_ERROR = "产品id[%s]的冻结/解冻标志 无法识别，请输入正确标志";

    public static final String CREDIT_LIMIT_MODIFY_STATUS_ERROR = "修改客户节点的状态失败";

    public static final String BANKCARD_NODATA = "银行卡信息不存在或者已失效,校验不通过";

    public static final String BANKCARD_DATA = "银行卡信息已经被其余客户绑定,不可以使用";

    public static final String BANKCARD_CARD_NODATA = "客户除卡号[%s]外,没有其他已绑定的有效状态的卡片";

    public static final String BANKCARD = "银行卡";

    public static final String CUSTOMER_QUERY_PRODCT_NODATA="产品[%s]不存在对应的额度节点";

    public static final String CREDIT_PARAMLIST_FREEZE_REPEAT = "额度冻结/解冻信息列表creditInfoList中productId[%s]有重复数据";

    public static final String CREDIT_PARAMLIST_ADJUST_REPEAT = "额度调整信息列表信息列表creditInfoList中productId[%s]有重复数据";

    public static final String CREDIT_PARAMLIST_FREEZE_CONTROCTNUMBER="productId[%s]对应的额度不存在合同号为[%s]对应的授信";

    public static final String CUSTOMER_CREDIT_ERROE_DATE="当前业务日期[%tF]不在此客户额度信息的节点[%s]的有效时间范围内[%tF--%tF]";

    public static final String CREDIT_MEDICAL_CUSTOMER_LIMIT_FROZE_ERROR="当前待冻结/支用额度[%s]，大于客户号：[%s]|产品号：[%s]，对应额度节点[%s]信息的可用额度-所有已冻结额度和：[%s]";

    public static final String LIMIT_ID = "额度节点";
    public static final String CUSTOMER = "客户额度";
    public static final String NO_CUSLIMIT = "当前额度节点[%s]的可用额度[%s]不满足此贷款额度[%s]";
    public static final String ERROR_UPDATE = "更新失败";
    public static final String CUSTOMER_LIMIT_STATUS_2 = "此客户额度冻结";
    public static final String CUSTOMER_LIMIT_STATUS_0 = "此客户额度失效";
    public static final String CUSTOMER_LIMIT_STATUS_3 = "此客户额度未激活";
    public static final String CUSTOMER_LIMIT_STATUS_4 = "此客户额度已注销";


    public static final String CONTRACTNUMBER = "额度节点属性为非循环时，接口传送的合同号";


    public static final String CUSTOMER_INFO = "客户";

    public static final String ERROR_ID = "主键生成错误";

    public static final String CUSTOMER_ADD = "客户已注册, 地址和联系人信息已经刷新";
    public static final String CARD_ALREADY_ADD = "该证件已由其他客户注册，请重新核实证件号";
    public static final String NOT_EXIST_ROUTINNG = "渠道[%s]userId[%s]租户[%s]不存在路由信息";
    public static final String UNIQUE_FIRST_CUSTOMER = "一级客户信息不唯一";
    public static final String FIRST_CUSTOMER_ADD_ERROR = "客户一级表信息添加失败";
    public static final String FIRST_CUSTOMER_MODIFY_ERROR = "客户一级表修改失败";
    public static final String SECOND_CUSTOMER_ADD_ERROR = "客户二级表添加失败";
    public static final String SECOND_CUSTOMER_MODIFY_ERROR="客户二级表修改失败";
    public static final String UNIQUE_SECORD_CUSTOMER = "二级客户信息不唯一";
    public static final String CUSTOMER_USERID_CHANNEL ="该user_id[%s]在渠道[%s]已存在";
    public static final String CUSTOMER_IDNUMBER_CHANNEL ="该证件号[%s]在该渠道[%s]已经被其他user使用";
    public static final String CUSTOMER_MOBILE_CHANNEL ="该手机号{%s}在渠道{%s}已存在";
    public static final String CUSTOMER_MOBILE_CHANNEL_NO ="该手机号{%s}在渠道{%s}不存在";
    public static final String CUSTOMER_MOBILE_IDNUMBER_ERROR = "渠道[%s]，手机号{%s} 对应的证件号[%s]与传入[%s]不一致,请检查";
    public static final String CUSTOMER_MOBILE_USERID_LOG_ERROR = "渠道[%s]，手机号{%s} 对应的userId[%s]与传入[%s]不一致,请检查";
    public static final String CARD_MODIFY_ERROR = "渠道下手机号和证件号无法匹配,请检查";
    public static final String CUSTOMER_MOBILE_USERID_ERROR = "渠道下手机号和userId无法匹配,请检查";
    public static final String CUSTOMER_IDNUMBER_NO_USERID_DATA = "证件号[%s],租户[%s],客户id[%s],机构[%s]不存在数据";
    public static final String CUSTOMER_IDNUMBER_NO_USERID = "证件号没有使用记录";

    public static final String CUSTOMER_ID_NOT_ALIKE ="卡片所属客户id[%s]与api输入的客户[%s]不一致";



    public static final String  CREATE_CACHE_ERROR="创建信息为cacheMapping[%s]的路由失败";

    public static final String  MODIFY_CUSTOMER_GROUP_ERROR="修改用户[%s]的客群失败";

    public static final String  MODIFY_CUSTOMER_STATEMENT_ERROR="修改客户[%s]在渠道[%s]的账单日失败";


    public static final String CUSTOMER_ID_EFFECTIVE_ERROR = "客户证件有效日期[%s]大于终止日期[%s]";

    public static final String LOCK_EXIST = "客户有正在处理的交易，请稍后再试";

    public static final String CUSTOMER_LIMIT_NOT_EXIST = "客户额度不存在";

    public static final String CUSTOMER_LIMIT_USED_GREATER_ADJUST = "客户已使用额度大于调整额度";

    public static final String LIMIT_USER_MODE_1 = "额度节点为非循环额度";

    public static final String GATEWAY_ERROR = "调用网关接口异常";

    public static final String  MODIFY_CUSTOMER_MOBILE_ERROR="修改用户[%s]的手机号失败";

    public static final String MARKET_ADD_ERROR = "营销记录表添加失败";


}
